from flask import Flask
import settings
from models import db

app = Flask(__name__)
app.config.from_object(settings.Dev)
# 初始化数据库
db.init_app(app)